<?php

namespace models\Exception\Business;

use Exception;


class OauthException extends Exception {
    const OAUTH_IS_NOT_EXISTS = '第三方登录账号不存在';

    const OAUTH_IS_NOT_EXISTS_NO = '404';

    const OAUTH_CREATE_FAILURE = '第三方登录账号创建失败';

    const OAUTH_CREATE_FAILURE_NO = '422';

    const OAUTH_EDIT_FAILURE = '第三方登录账号编辑失败';

    const OAUTH_EDIT_FAILURE_NO = '422';

    const OAUTH_ID_IS_EMPTY = '第三方登录编号不能为空';

    const OAUTH_ID_IS_EMPTY_NO = '400';

    const OAUTH_HAS_BEEN_BIND = "第三方账号已被别的账号绑定了";
    const OAUTH_HAS_BEEN_BIND_NO = "400";

    const OAUTH_REPEAT_BIND = "请勿重复绑定";
    const OAUTH_REPEAT_BIND_NO = "400";

}
